package com.jnshu.dto.admin;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Martin
 * @date 2019/8/15 9:08
 * 表现层数据封装对象
 */
@Data
public class ModelVo {
    private Long id;
    @NotEmpty(message = "模块名不能为空")
    private String modeName;
    private String url;
    private Long parentNode;
    @NotEmpty(message = "图标不能为空")
    private String icon;
    private Integer menuId;
    private Integer sequence;
}
